package com.Test.LoginManager.client;

import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.VerticalPanel;
import com.google.gwt.user.client.ui.FlexTable;
import com.google.gwt.user.client.ui.InlineLabel;
import com.google.gwt.user.client.ui.Image;
import com.google.gwt.user.client.ui.HTML;

public class LoginAppDescription extends Composite {

	public LoginAppDescription() {
		
		VerticalPanel verticalPanel = new VerticalPanel();
		verticalPanel.setHeight("40px");
		initWidget(verticalPanel);
		
		FlexTable flexTable = new FlexTable();
		verticalPanel.add(flexTable);
		
		Label label = new Label("New label");
		flexTable.setWidget(0, 1, label);
		flexTable.getFlexCellFormatter().setColSpan(0, 1, 1);
		
		InlineLabel inlineLabel = new InlineLabel("New InlineLabel");
		flexTable.setWidget(1, 1, inlineLabel);
		
		Image image = new Image("home.gif");
		flexTable.setWidget(2, 0, image);
		
		InlineLabel inlineLabel_1 = new InlineLabel("New InlineLabel");
		flexTable.setWidget(2, 1, inlineLabel_1);
		
		Image image_1 = new Image("drafts.gif");
		flexTable.setWidget(3, 0, image_1);
		
		InlineLabel inlineLabel_2 = new InlineLabel("New InlineLabel");
		flexTable.setWidget(3, 1, inlineLabel_2);
		
		Image image_2 = new Image("gwt/standard/images/splitPanelThumb.png");
		flexTable.setWidget(4, 0, image_2);
		
		InlineLabel inlineLabel_3 = new InlineLabel("New InlineLabel");
		flexTable.setWidget(4, 1, inlineLabel_3);
		
		HTML html = new HTML("<iframe title=\"YouTube video player\" width=\"320\" height=\"190\" src=\"http://www.youtube.com/embed/ZVQrH0aHGAc\" frameborder=\"0\" allowfullscreen></iframe>", true);
		flexTable.setWidget(5, 0, html);
		flexTable.getFlexCellFormatter().setColSpan(5, 0, 2);
	}

}
